import { defineReactive } from "../reactive/defineReactive.mjs";
import { Watcher } from "../reactive/watcher.mjs";

const vm = { m: 12 }
defineReactive(vm, 'm', vm.m)
let i = 0;
new Watcher(vm, 'm', function () {
    console.log(vm.m);
    i++;
})
vm.m = 14;